<template>
  <div class="doc-container">
    <div class="directory-list">
      <DirectoryList />
    </div>
    <div class="current-directory">
      <CurrentDirectory />
    </div>
  </div>
</template>

<script setup lang="ts">
import DirectoryList from "./directory-list/index.vue"
import CurrentDirectory from "./current-directory/index.vue"
</script>

<style lang="scss">
.doc-container {
  height: 100%;
  background: #f5f5f7ff;
  padding: 16px 24px;
  display: flex;

  $width-left: 334px;

  .directory-list {
    width: $width-left;
    height: 100%;
    background-color: #fff;
    border-radius: 4px 0 0 4px;
    border-right: 1px solid #f3f4f5ff;
  }

  .current-directory {
    width: calc(100% - $width-left);
    height: 100%;
    background-color: #fff;
    border-radius: 0 4px 4px 0;
  }
}
</style>
